home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The X-Philes (2nd Revision)
/
The X-Philes Number 1 (1995).iso
/
xphiles
/
hp48hor2
/
timer.doc
< prev
next >
Wrap
Text File
|
1995-03-31
|
4KB
|
79 lines
Countdown Timers by Steve Mauser
[See FLYING.DOC for more complete documentation. -jkh-]
This is a library of two countdown timer applications. Both use
the graphics display to generate LARGE minute and second numerals
during the countdown.
[Note: TIMER.LIB seems to be an "older" version of TIMER2.LIB, but
I'm not sure. If you figure out which library does what,
congratulations. Sorry for the confusion. -jkh-]
The first application, TIM1, is a dedicated one-minute timer for
initial holding pattern and standard-rate turn timing. To start
this timer, press TIM1 in the library function menu, and the timer
will come up with 1:00 on the screen. By pressing "GO" on the
menu, the timer will start and will not stop until reaching 0:00,
or until the "STOP" menu key is pressed. Pressing the STOP key
prior to reaching zero will produce a beep, hold the display for
two seconds, and reset for a one-minute countdown. Upon reaching
zero, the timer will continuously display zero and beep until the
STOP key is pressed. After pressing STOP, the display will
continue timing upwards until the STOP key is pressed again. At
this STOP, a beep is issued and the display will freeze for two
seconds prior to being reset to one minute for another count
cycle.
Exit from this timer is by pressing the "STOP" menu key while 1:00
is displayed.
The second application, TIMER, is a variable-time countdown timer
with a maximum time of 9 minutes and 59 seconds. It comes up upon
activation and behaves just like the one-minute timer, except that
it provides for changing the starting time for countdown (such as
for final approach times, or second loops around holding
patterns).
To change the countdown time, press "STOP" while the large display
is showing. Instead of exiting, as with the 1:00-minute timer, you
will be prompted for a new time which you enter in "248 enter"
format (for 2 minutes and 48 seconds). The new time will be
displayed and count begun upon your pressing the "GO" menu key.
Upon completion of the countdown, the 0:00 display will freeze and
a continuous alarm will sound. Pressing the STOP key will begin
the upcount and the timer will continue to count upward until the
the STOP key is again pressed. Following this STOP command, the
timer will reset to the initial time and be ready to countdown
again.
To exit this second application, press "STOP" to get to the new-
time prompting menu, then press "enter" (not "STOP"), which will
enter a time of "0" for counting down.
After running either the TIM1 or the TIMER application, you are
returned to the library menu (with TIM1 and TIMER showing in the
menu). If you run TIM1, no changes are made to the rest of the
calculator memory. However, if you execute the TIMER function,
the last time used in the timer as the timer starting time is
stored in the directory to which the library is attached. The
variable, TSTART, holds the contents of the start time. Upon the
next startup of TIMER, it will look for this variable, and if it
exists in the current directory, or above, it will use the time
stored in this variable for the length of countdown.
Consequently, you can enter the desired countdown time prior to
executing the timer application, if you wish.
If the TSTART variable does not exist, the timer will use 1:00 for
its initial starting time.
Enjoy - I am also working on other pilot applications, although I
may have to ask for a fee to cover the divorce attorneys. If you
have an interest in weight and balance calculations with a plot of
the relative position of the loaded airplane within the envelope,
or if you have interest in a navigation program which selects the
best altitude for optimum winds, let me know. These are a month
or two away - And then testing is a so and so.
Steve Mauser